// 洛谷 B2052
// 函数指针写法
#include <iostream>
using namespace std;
void add(int a, int b) { cout << a + b << endl; }
void sub(int a, int b) { cout << a - b << endl; }
void mul(int a, int b) { cout << a * b << endl; }
void divid(int a, int b) {
  if (b == 0)
    cout << "Divided by zero!" << endl;
  else
    cout << a / b << endl;
}
void invalid(int a, int b) { cout << "Invalid operator!" << endl; }
int main() {
  int a, b;
  char c;
  cin >> a >> b >> c;
  void (*op)(int, int) = nullptr;
  if (c == '+')
    op = add;
  else if (c == '-')
    op = sub;
  else if (c == '*')
    op = mul;
  else if (c == '/')
    op = divid;
  else
    op = invalid;
  op(a, b);
}